<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
	<link rel="stylesheet" href="../../css/bootstrap.min.css">
	<script src="../../js/jquery/jquery.min.js"></script>
	<script src="../../js/jquery.validation/1.14.0/jquery.validate.min.js"></script>
	<script src="../../js/jquery.validation/1.14.0/messages_zh.min.js"></script>
	<style>
		input.error{
			border: 1px solid #E6594E;
		}
	</style>
</head>
<body>
       <h4>申请人：${Session.User.userUsername}<br><br>
                  申购部门：${Session.User.oaDept.deptName}<br><br>          
                   申请日期：<input type="text" name="buyDate" id="buyDate" value ="${.now?date}" readonly="readonly" style="border:none"><br>
             <br></h4>	
<form action="addbuys" method="post">
<table>
<tr>
<td colspan="6" height="50px" align="center">
<h2>物品申购单</h2>
</tr>
<tr>
<td>物品名称</td>
<td>数量</td>
<td>单价</td>
<td>需求时间</td>
<td>用途</td>
<td>操作</td>
</tr>
<tr>
<td colspan="6" height="20px"></td>
</tr>
<tr>
<td><input type="text" id="buyName0" name="buyName0" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber0" name="buyNumber0" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice0" name="buyPrice0" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate0" name="buyUseDate0" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse0" name="buyUse0" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName1" name="buyName1" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber1" name="buyNumber1" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice1" name="buyPrice1" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate1" name="buyUseDate1" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse1" name="buyUse1" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName2" name="buyName2" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber2" name="buyNumber2" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice2" name="buyPrice2" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate2" name="buyUseDate2" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse2" name="buyUse2" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr> 
<tr>
<td><input type="text" id="buyName3" name="buyName3" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber3" name="buyNumber3" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice3" name="buyPrice3" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate3" name="buyUseDate3" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse3" name="buyUse3" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName4" name="buyName4" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber4" name="buyNumber4" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice4" name="buyPrice4" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate4" name="buyUseDate4" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse4" name="buyUse4" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName5" name="buyName5" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber5" name="buyNumber5" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice5" name="buyPrice5" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate5" name="buyUseDate5" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse5" name="buyUse5" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName6" name="buyName6" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber6" name="buyNumber6" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice6" name="buyPrice6" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate6" name="buyUseDate6" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse6" name="buyUse6" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName7" name="buyName7" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber7" name="buyNumber7" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice7" name="buyPrice7" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate7" name="buyUseDate7" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse7" name="buyUse7" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName8" name="buyName8" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber8" name="buyNumber8" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice8" name="buyPrice8" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate8" name="buyUseDate8" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse8" name="buyUse8" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName9" name="buyName9" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber9" name="buyNumber9" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice9" name="buyPrice9" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate9" name="buyUseDate9" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse9" name="buyUse9" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName10" name="buyName10" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber10" name="buyNumber10" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice10" name="buyPrice10" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate10" name="buyUseDate10" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse10" name="buyUse10" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>
<tr>
<td><input type="text" id="buyName11" name="buyName11" placeholder="输入物品名称"></td>
<td><input type="text" id="buyNumber11" name="buyNumber11" placeholder="输入数量"></td>
<td><input type="text" id="buyPrice11" name="buyPrice11" placeholder="输入单价"></td>
<td><input type="text" id="buyUseDate11" name="buyUseDate11" placeholder="输入需求时间"></td>
<td><input type="text" id="buyUse11" name="buyUse11" placeholder="输入用途"></td>
<td><a href>删除</a></td>
</tr>







  
</table>
          
          <button type="submit" id="saveBtn" class="btn btn-success">提交</button>
		  <button type="button" id="cancelBtn" class="btn btn-default">取消</button>
		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		  <input type="button" value="增加申请" id="xin" />
        <input type="hidden" name="deptid" id="deptid" value ="${Session.User.oaDept.deptId}">
        <input type="hidden" name="userid" id="userid" value ="${Session.User.userId}">
        <input type="hidden" name="submitid" id="submitid"value ="1">
        <input type="hidden" name="buydate" value ="${.now?date}">
        
        <form>
        
       
</body>
</html>